export function isNotNull(obj:object)  {
    let _value = false;
    if (obj == undefined || obj == null || obj == '')
      _value = false
    else
      _value = true;
    return _value;
  }


  export const transValue = (value) => {
    let re_obj = [];
    if (!isNotNull(value))
      return [];
    for (let i = 0; i < value.length; i++) {
      let row = value[i];
      for (let k in row) {
        let param = row[k];
        if (isNotNull(param) && typeof param == 'string' && param.indexOf('0001-01-01') > -1) {
          row[k] = ''
        }
      }
      re_obj.push(row);
    }
    return re_obj;
  }